<!DOCTYPE html>
<html>
<head>
    {include file='public/meta'/}
    <style>
        .has-switch span, .has-switch label{
            height: auto;
        }
        .coupon-color{
            line-height: 34px;
        }
    </style>
</head>
<body>
{include file='public/header'/}
<section>
    <!------------------导航-------------------------->
    {include file='public/left'/}
    <!--------------------------主要内容区域------------------------------------->
    <div class="content">
        <div class="page-heading">
            <ul class="breadcrumb">
                <li>
                    当前位置是&nbsp;:&nbsp;<a href="{:url('shop/shopmall',['card_id'=>$card['card_id']])}"> 积分商城</a>
                </li>
                <li class="active" style="color: #02b87f;"> 订单管理</li>
            </ul>
        </div>
        <div class="panel mgr15 mgl15">
            <div class="panel-heading addCharts" style="background:#ededed;">
               查看详情
            </div>
            <div class="panel-body">
                <form class="form-horizontal adminex-form" action="" method="post">

                    <div class="panel panel-default" id="step1">
                        <div class="panel-body">

                            <div class="pull-left alert form form-area col-sm-12 col-md-12 " style="display: block; margin-top: 0.5px;" id="form1">
                                <div class="arrow_in"></div>

                                <div class="form-group jifenshezhi">
                                    <label class="col-xs-12 col-sm-3 col-md-2 control-label">商品名称:</label>
                                    <div class="col-sm-9 col-xs-12 coupon-color">
                                        {$goods.goods_name}
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label class="col-xs-12 col-sm-3 col-md-2 control-label">数量:</label>
                                    <div class="col-sm-9 col-xs-12 coupon-color">
                                        {$order.number}
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label class="col-xs-12 col-sm-3 col-md-2 control-label">所需积分:</label>
                                    <div class="col-sm-9 col-xs-12 coupon-color">
                                        {$goods.goods_price}
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label class="col-xs-12 col-sm-3 col-md-2 control-label">用户昵称:</label>
                                    <div class="col-sm-9 col-xs-12 coupon-color">
                                        {$user.nickname}
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label class="col-xs-12 col-sm-3 col-md-2 control-label">联系电话:</label>
                                    <div class="col-sm-9 col-xs-12 coupon-color">
                                        {$order.phone}
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label class="col-xs-12 col-sm-3 col-md-2 control-label">地址:</label>
                                    <div class="col-sm-9 col-xs-12 coupon-color">
                                        {$order.address}
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label class="col-xs-12 col-sm-3 col-md-2 control-label">订单时间:</label>
                                    <div class="col-sm-9 col-xs-12 coupon-color">
                                        {$order.create_time}
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label class="col-xs-12 col-sm-3 col-md-2 control-label">订单状态:</label>
                                    <div class="col-sm-9 col-xs-12 coupon-color">
                                        {switch name="$order.statu"}
                                        {case value="0"}正常{/case}
                                        {case value="1"}已关闭{/case}
                                        {case value="2"}完成{/case}
                                        {/switch}
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </form>
            </div>
        </div>
        {include file='public/footer'/}
    </div>
</section>
</body>
</html>
